package com.softeem.service.impl;

import com.softeem.service.PeijieService;
import com.softeem.utils.JdbcUtils;

public class PeiJieServiceImpl implements PeijieService {
    @Override
    public void save() {
        try {
            System.out.println("peijie业务层执行~~~");
            ThreadLocal tl = JdbcUtils.getThreadLocal();
            Object o = tl.get();
            System.out.println("业务层获取到的随机数:" + o);
            System.out.println("peijie业务层执行完成..~~~");
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
